export interface IChargeGoodsDefaultValue {
  bgcolor: string;
  bgPadding: number;
  bgRadius: number;
  tabColor: string;
  selectedcolor: string;
  unselectcolor: string;
  tabShow: boolean;
  tablineColor: string;
  subShow: boolean,
  unsubColor: string
  selectedsubColor: string;
  selectBg: string;
  selectBgColor: string;
  selectBgUrl: string;
  tabDistance: number;
  tabMarginTop: number;
  tabMarginBottom: number;
  tabMargin: number;
  tabIndex:  number;
  bgRadiusTop: number;
  bgRadiusBottom: number;
  style: string;
  borderWidth: number;
  borderColor: string;
  custom: string;
  productBackgroundColor: string;
  titlecolor: string;
  titleShow: boolean;
  subtitlecolor: string;
  subtitleShow: boolean;
  priceShow: boolean;
  price: string;
  delpriceShow: boolean;
  delprice: string;
  originalPriceShow: boolean;
  originalPrice: string;
  carUrl: string
  dotSetting: string
  dotStyle: string
  dotName: string
  dotUrl: string;
  distance: number;
  marginTop: number;
  marginBottom: number;
  margin: number;
  radiusTop: number
  radiusBottom: number;
  mallId: string;
  tabList: IChargeGoodsTabItem[];
  productCols: number;
  productBorderColorSelect: string;
  productBackgroundColorSelect: string
  productColorSelect: string;
  confirmButtonBackgroundColor: string;
  confirmButtonColor: string;
}

export interface IChargeGoodsTabItem {
  title: string,
  enableSubCate: string,
  // subCateList: number[],
  goodsList: {id: number}[],
  memo: string,
}

export const chargeGoodsDefaultValue: IChargeGoodsDefaultValue = {
  bgcolor: "#FFFFFF",
  bgRadius: 10,
  bgPadding: 10,
  tabColor: "#FFFFFF",
  selectedcolor: "#FF4D4F",
  unselectcolor: "#999999",
  tabShow: true,
  tablineColor: "#ef4f4f",
  subShow: false,
  unsubColor: "#666",
  selectedsubColor: "#666",
  selectBg: "1",
  selectBgColor: "transparent",
  selectBgUrl: "",
  tabDistance: 20,
  tabMarginTop: 0,
  tabMarginBottom: 0,
  tabMargin: 0,
  tabIndex: 0,
  bgRadiusTop: 0,
  bgRadiusBottom: 0,
  style: "1",
  borderWidth: 1,
  borderColor: "#ededed",
  custom: "1",
  productBackgroundColor: "#fff",
  titlecolor: "#3d404d",
  titleShow: true,
  subtitlecolor: "#999ca7",
  subtitleShow: true,
  priceShow: true,
  price: "#fd463e",
  delpriceShow: true,
  delprice: "#999CA7",
  originalPriceShow: true,
  originalPrice: "#999CA7",
  carUrl: "",
  dotSetting: "1",
  dotStyle: "1",
  dotName: "",
  dotUrl: "",
  distance: 7,
  marginTop: 10,
  marginBottom: 10,
  margin: 10,
  radiusTop: 4,
  radiusBottom: 4,
  mallId: '',
  tabList: [
    {
      title: "话费充值",
      enableSubCate: "0",
      // subCateList: [],
      goodsList: [],
      memo: "",
    },
    {
      title: "油卡充值",
      // subCateList: [],
      enableSubCate: "0",
      goodsList: [],
      memo: "",
    },
  ],
  productCols: 2,
  productBorderColorSelect: '#fd463e',
  productBackgroundColorSelect: '#fd463e',
  productColorSelect: '#fff',
  confirmButtonBackgroundColor: "#ef4f4f",
  confirmButtonColor: "#fff",
}